home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / gdbm15st.bin / gdbm / Makefile < prev    next >
Encoding:
Makefile  |  1992-12-16  |  4.1 KB  |  2 lines  |  [TEXT/□□□□]

  1. MakefileTEXT
  2. ╒¼ºTfHºTfHüüé├#
  3. # Makefile for gdbm on the Macintosh.
  4. #
  5.  
  6. OURLIBS =    alloca.c.o                        ╢
  7.         getopt.c.o
  8.         
  9. LIBS    =     {CLibraries}GUSI_F.o                    ╢
  10.         {CLibraries}StdCLib.o                     ╢
  11.         {Libraries}Runtime.o                     ╢
  12.         {Libraries}Interface.o                     ╢
  13.         {Libraries}ToolLibs.o                    ╢
  14.         alloca.c.o                        ╢
  15.         getopt.c.o
  16.         
  17. DBM_CF = dbminit.c delete.c fetch.c store.c seq.c
  18.  
  19. NDBM_CF = dbmopen.c dbmdelete.c dbmfetch.c dbmstore.c dbmseq.c ╢
  20.     dbmclose.c dbmdirfno.c dbmpagfno.c
  21.  
  22. GDBM_CF = gdbmopen.c gdbmdelete.c gdbmfetch.c  gdbmstore.c gdbmclose.c ╢
  23.     gdbmreorg.c gdbmseq.c ╢
  24.     bucket.c falloc.c findkey.c global.c hash.c update.c version.c
  25.  
  26. HFILES = gdbmdefs.h extern.h gdbmerrno.h systems.h dbm.h ndbm.h gdbmconst.h
  27.  
  28. MSCFILES = COPYING ChangeLog Makefile README README.MAC gdbm.proto conv2gdbm.c
  29.  
  30. TESTFILES = testdbm.c testndbm.c testgdbm.c
  31.  
  32.  
  33. DBM_OF = dbminit.c.o delete.c.o fetch.c.o store.c.o seq.c.o
  34.  
  35. NDBM_OF = dbmopen.c.o dbmdelete.c.o dbmfetch.c.o dbmstore.c.o dbmseq.c.o ╢
  36.     dbmclose.c.o dbmdirfno.c.o dbmpagfno.c.o
  37.  
  38. GDBM_OF = gdbmopen.c.o gdbmdelete.c.o gdbmfetch.c.o  gdbmstore.c.o gdbmclose.c.o ╢
  39.     gdbmreorg.c.o gdbmseq.c.o ╢
  40.     bucket.c.o falloc.c.o findkey.c.o global.c.o hash.c.o update.c.o version.c.o
  41.  
  42. all─    allgdbm alldbm
  43.  
  44. alldbm─ tdbm tndbm
  45.  
  46. allgdbm─ gdbm.o testgdbm testdbm testndbm
  47.  
  48. gdbm.o─    {DBM_OF} {NDBM_OF} {GDBM_OF} gdbm.h
  49.     Lib -sym on -o gdbm.o {DBM_OF} {NDBM_OF} {GDBM_OF}
  50.     
  51. gdbm.h─    gdbm.proto gdbmerrno.h
  52.     duplicate -y gdbm.proto gdbm.h
  53.     perl -ne 'print if (/_/);' gdbmerrno.h >> gdbm.h
  54.  
  55. testgdbm─ testgdbm.c.o gdbm.o {OURLIBS}
  56.     Link -t MPST -c 'MPS ' -o testgdbm testgdbm.c.o gdbm.o {LIBS}
  57.  
  58. testdbm─ testdbm.c.o gdbm.o {OURLIBS}
  59.     Link -t MPST -c 'MPS ' -o testdbm testdbm.c.o gdbm.o {LIBS}
  60.  
  61. tdbm─ testdbm.c.o gdbm.o {OURLIBS}
  62.     Link -t MPST -c 'MPS ' -o tdbm testdbm.c.o gdbm.o {LIBS}
  63.  
  64. testndbm.c.o─ testndbm.c
  65.     C -DGNU testndbm.c
  66.  
  67. testndbm─ testndbm.c.o gdbm.o {OURLIBS}
  68.     Link -t MPST -c 'MPS ' -o testndbm testndbm.c.o gdbm.o {LIBS}
  69.  
  70. tndbm.c.o─ testndbm.c
  71.     Duplicate -y testndbm.c tndbm.c
  72.     C {COptions} tndbm.c
  73.     Delete -y tndbm.c
  74.  
  75. tndbm─ tndbm.c.o gdbm.o {OURLIBS}
  76.     Link -t MPST -c 'MPS ' -o tndbm tndbm.c.o gdbm.o {LIBS}
  77.  
  78. clean─
  79.     delete -y {DBM_OF} {NDBM_OF} {GDBM_OF} gdbm.h gdbm.o ╢
  80.     testdbm testndbm testgdbm testdbm.c.o testndbm.c.o testgdbm.c.o ╢
  81.     tdbm tndbm tndbm.c.o tndbm.c conv2gdbm conv2gdbm.c.o
  82.  
  83. install─ gdbm.o gdbm.h
  84.     Duplicate -y gdbm.o {CLibraries}
  85.     Duplicate -y gdbm.h {CIncludes}
  86.  
  87. dist─
  88.  
  89. # dbm files
  90. dbminit.c.o    ─    gdbmdefs.h extern.h gdbmerrno.h
  91. delete.c.o    ─    gdbmdefs.h extern.h
  92. fetch.c.o    ─    gdbmdefs.h extern.h
  93. store.c.o    ─    gdbmdefs.h extern.h
  94. seq.c.o        ─    gdbmdefs.h extern.h
  95.  
  96. # ndbm files
  97. dbmopen.c.o    ─    gdbmdefs.h extern.h gdbmerrno.h
  98. dbmdelete.c.o    ─    gdbmdefs.h extern.h
  99. dbmfetch.c.o    ─    gdbmdefs.h extern.h
  100. dbmstore.c.o    ─    gdbmdefs.h extern.h
  101. dbmseq.c.o    ─    gdbmdefs.h extern.h
  102. dbmclose.c.o    ─    gdbmdefs.h systems.h
  103. dbmpagfno.c.o    ─    gdbmdefs.h extern.h
  104. dbmdirfno.c.o    ─    gdbmdefs.h extern.h
  105.  
  106.  
  107. # gdbm files
  108. gdbmclose.c.o    ─    gdbmdefs.h 
  109. gdbmdelete.c.o    ─    gdbmdefs.h gdbmerrno.h 
  110. gdbmfetch.c.o    ─    gdbmdefs.h gdbmerrno.h 
  111. gdbmopen.c.o    ─    gdbmdefs.h gdbmerrno.h 
  112. gdbmreorg.c.o    ─    gdbmdefs.h gdbmerrno.h extern.h
  113. gdbmseq.c.o    ─    gdbmdefs.h 
  114. gdbmstore.c.o    ─    gdbmdefs.h gdbmerrno.h 
  115.  
  116. # gdbm support files
  117. bucket.c.o    ─    gdbmdefs.h
  118. falloc.c.o    ─    gdbmdefs.h
  119. findkey.c.o    ─    gdbmdefs.h
  120. global.c.o    ─    gdbmdefs.h gdbmerrno.h 
  121. hash.c.o    ─    gdbmdefs.h
  122. update.c.o    ─    gdbmdefs.h
  123. version.c.o    ─
  124. extern.h    ─
  125. gdbmdefs.h    ─    gdbmconst.h systems.h
  126.     setfile -m . gdbmdefs.h
  127.  
  128. # other programs
  129. testgdbm.c.o    ─    gdbmdefs.h extern.h gdbmerrno.h systems.h
  130. testdbm.c.o    ─
  131. testndbm.c.o    ─    ndbm.h
  132. tdbm.c.o    ─
  133. nn>c.o findkey.c.o global.c.o hash.Makefile-TEXTTEXTªªô
  134. ╒¼h permission, Apple Computer Inc. (1985,1988,1990-1991)
  135.  * All rights reserved.
  136.  */
  137.  
  138. #ifndef __FCNTL__
  139. #define __FCNTL__
  140.  
  141. /*
  142.  *    FoH    Monacog # -O -DSYSV
  143. LIBS = # -lx▌=x▌=ºT.┌┌x▌=x▌=nn>I¬8>MPSR
  144. φ  ≡  LO▄